<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="sysDefault" />
<script type="text/javascript"> 
	
 	$(document).ready(function(){
 		parent.document.getElementById("versionFrame").height=document.body.scrollHeight; 
	}); 
	
	function funform(url,target){
		window.open(url,target);
	}
	
	function tr_onclick(infoId,version,navId){  
		 parent.location.href="${contextPath}/biz/contract/assrecord/"+infoId+"/getByVersion?version="+version+"&navId="+navId; 
	}
</script>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-14">
				<div class="panel panel-default"> 
				  	<tags:message content="${message}"/> 
					 <table class="table table-striped table-bordered table-hover">
						<thead>
							<tr>
								 <th>区域</th>
							    <th>门店</th>
							    <th>楼层</th>
								<th>洽谈编号</th>
								<th>创建时间</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${list}" var="assrecords">
							 	<tr onclick="tr_onclick('${assrecords.assinfo.id}','${assrecords.versionNo}', '${navId}')" style="cursor:pointer">
							 			<td>${assrecords.assinfo.area}</td>
									    <td>${assrecords.assinfo.store}</td>
										<td>${assrecords.assinfo.floor}</td>  
										<td>${assrecords.versionNo}</td>  
										<td>
											<fmt:formatDate value="${assrecords.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/> 
										</td>  
									</tr> 
							</c:forEach>
						</tbody>
					</table>  
				</div>			
			</div>
		</div>
	</div>
</body>
</html>